@charset "utf-8";
body {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

a {
    cursor: pointer;
    color: initial;
}


/*顶部搜索框*/

#search-info {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f30;
    padding: 0.2rem;
    overflow: hidden;
    box-sizing: border-box;
    color: #fff;
    z-index: 9999;
}

#search-info .logo {
    margin-right: 0.2rem;
    width: 2.3rem;
    height: 1rem;
    float: left;
}

#search-info .logo img {
    width: 100%;
    height: 100%;
}

#search-info .search-box {
    position: relative;
    display: inline;
    overflow: hidden;
}


/*输入框*/

#search-info .search-box input {
    padding: 8px;
    color: #fff;
    font-size: 0.4rem;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    vertical-align: middle;
    box-sizing: border-box;
    margin: 0 0.3rem 0 0.2rem;
    width: 55%;
    height: 1rem;
}

input::-webkit-input-placeholder {
    color: #fff;
}

input::-moz-placeholder {
    color: #fff;
}

input:-ms-input-placeholder {
    color: #fff;
}

#search-info .search-box .search-pic {
    position: absolute;
    width: 0.7rem;
    height: 0.7rem;
    right: 0.4rem;
    z-index: 10;
    display: block;
    top: -0.1rem;
    /*margin-top: 0.15rem;*/
}

#search-info .search-box .search-pic img {
    width: 100%;
    height: 100%;
}

#search-info .address {
    float: right;
    font-size: 0.5rem;
    color: #fff;
    margin: 0.1rem 0.3rem 0 0;
}


/*中部主要内容*/

.slide {
    width: 100%;
    height: 4rem;
    overflow: hidden;
}

.slide a {
    display: block;
    float: left;
    width: 100%;
    height: 100%;
}

.slide a img {
    width: 100%;
    height: 100%;
}


/*分类*/

.classify {
    width: 100%;
    height: 100%;
    padding: 0.3rem;
    box-sizing: border-box;
    /*display: flex;*/
    overflow: hidden;
}

.classify a {
    width: 20%;
    text-align: center;
    float: left;
    display: block;
}

.classify a dd img {
    width: 1rem;
    height: 1rem;
}

.classify a dt {
    font-size: 0.35rem;
    margin: 0.1rem 0;
}


/*莲菜热点*/

.scroll-box {
    display: flex;
    overflow: hidden;
    height: 1rem;
    /*width: 100%;*/
    padding: 5px 20px;
    background-color: #f5f5fa;
}

.scroll-box .lcrd {
    float: left;
    width: 1.5rem;
    height: 1rem;
    border-right: 2px solid #dcdce2;
    margin: 0 0.3rem;
}

.scroll-box .lcrd img {
    width: 100%;
    height: 100%;
}

#marquee {
    display: block;
    line-height: 1;
    position: relative;
    overflow: hidden;
    width: 60%;
    height: 100%;
}

.scroll-box li {
    height: 1.5rem;
    width: 100%;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    font-size: 0.3rem;
    color: #333;
    position: absolute;
    top: -999em;
    left: 0;
}

.scroll-box .mark {
    display: inline-block;
    font-size: 0.4rem;
    background-color: #ff3300;
    border-radius: 3px;
    color: #FFF;
    width: 0.8rem;
    margin: 0.3rem;
}

.scroll-box .more-lc {
    float: right;
    display: block;
    width: 1.5rem;
    font-size: 0.35rem;
    text-align: center;
    margin: 0.3rem 0;
    background-color: #f5f5fa;
    border-left: 2px solid #dcdce2;
}


/*推荐*/

.recommend {
    width: 100%;
    height: auto;
}

.recommend .recommend-title {
    width: 100%;
    margin-top: 4px;
}

.recommend .recommend-title img {
    width: 100%;
    height: 100%;
}

.recommend .recommend-classify {
    display: flex;
}

.recommend .recommend-classify a {
    display: block;
    width: 33.333%;
    margin-top: 6px;
    float: left;
}

.recommend .recommend-classify a img {
    width: 100%;
}

.recommend .goods {
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
}

.recommend .goods h1 {
    font-size: 0.5rem;
    color: #333;
    font-weight: 400;
    display: block;
    line-height: 0.5rem;
    padding: .3rem .3rem .3rem;
}

.recommend .goods h1 i {
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    background: url(../images/title_icon.png) no-repeat;
}


/*推荐的内容*/

.recommend .recommend-content li {
    width: 46%;
    padding: 5px;
    float: left;
    margin-right: 0.2rem;
}

.goods-info {
    text-align: left;
    display: block;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
    color: #333;
}


/*.recommend .recommend-content .goods-info a {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}*/

.recommend .recommend-content .goods-info a img {
    width: 100%;
    height: 3.5rem;
}

.recommend .recommend-content .goods-info a img:first-child {
    position: absolute;
    top: 0;
    z-index: 200;
}

.recommend .recommend-content .goods-info a img:nth-child(2) {
    position: absolute;
    top: 0;
    z-index: 100;
}

.recommend .recommend-content .goods-info p {
    font-size: 0.4rem;
    padding: 5px;
    overflow: hidden;
    height: 0.4rem;
    margin-top: 3.5rem;
    color: #333;
}

.recommend .recommend-content .goods-info .sub-tit {
    display: block;
    font-size: .3rem;
    padding: 3px 5px;
    line-height: 1;
    height: 0.3rem;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 400;
    text-overflow: ellipsis;
    color: #666;
}

.recommend .recommend-content .goods-info .goods-price {
    color: #ff3f36;
    padding: 5px;
    font-size: 0.4rem;
    font-weight: 700;
}

.recommend .recommend-content .goods-info .goods-price em {
    font-size: .3rem;
    color: black;
}

.recommend .recommend-content .goods-info button {
    width: 1rem;
    height: 1rem;
    outline: 0;
    margin: .5rem auto;
    display: block;
    border: 0;
    background: url(../images/change_icon.png) no-repeat;
    background-size: 1rem 2rem;
    text-align: center;
    font-size: 1.125rem;
    text-indent: -9999px;
}


/*底部导航*/

#bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
}

#bottom-bar .login-state {
    height: 0.7rem;
    line-height: 0.7rem;
    font-size: 0.4rem;
    text-align: center;
    width: 100%;
    background-color: #DAD9D9;
}

#bottom-bar .login-state a {
    color: #ff3300;
}

#bottom-bar .bottom-menu {
    height: 1rem;
    width: 100%;
    display: flex;
    padding: 0 0 0.3rem;
}

#bottom-bar .bottom-menu a.active {
    color: #ff3300;
}

#bottom-bar .bottom-menu a {
    display: block;
    float: left;
    text-align: center;
    flex-grow: 1;
    padding: 0 0.3rem 0.6rem;
    color: #999;
}

#bottom-bar .bottom-menu a p:first-child i {
    font-size: 0.8rem;
}

#bottom-bar .bottom-menu a p:nth-child(2) {
    font-size: 0.35rem;
    line-height: 0.35rem;
}